//
//  BaseTableHeaderFooterView.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/7/23.
//  Copyright © 2017年 beisheng. All rights reserved.
//ShoppingCarHeaderOne

import UIKit

class BaseTableHeaderFooterView: UITableViewHeaderFooterView {
    
    
    override init(reuseIdentifier: String?) {
        super.init(reuseIdentifier: reuseIdentifier)
        contentView.backgroundColor = UIColor.viewBgGrey()
        clipsToBounds = true
    }
    
    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
    }

    class func identifer() -> String{
        
        let tempString = NSStringFromClass(self as AnyClass)
        
        
        let classStr = tempString.components(separatedBy: ".").last
        
        
        return classStr!
    }

}
